package com.lokyiu.tutorial.java.exercise;

import java.util.Random;

public class Info {
	public static void main(String[] args){
		Random rand = new Random();
		
		Student peter = new Student(rand.nextInt(30)+1,"Peter",16,'M');
		peter.setClassNumber("D");
		peter.setSchoolName("Java School");
		peter.setForm(rand.nextInt(5)+1);
		
		peter.showInfo();
		
		Class a = new Class();
		
	}
}
